<?php
declare(strict_types=1);

namespace Dreamcat\ConfigClient\Logger;

use Psr\Log\AbstractLogger;

/**
 * 简单的日志，用来调试测试
 * @author vijay
 */
class SimpleLogger extends AbstractLogger
{
    /** @inheritDoc */
    public function log($level, $message, array $context = [])
    {
        $time = date("Y-m-d H:i:s");
        echo "{$time}\t[{$level}] {$message}\n";
    }
}

# end of file
